

import Layout from '@/layout'

const shopRouter = {
  path: '/shop',
  component: Layout,
  redirect: '/shop/list',
  name: 'shop',
  meta: {
    title: '商品管理',
    icon: 'shop'
  },
  children: [
    {
      path: 'typeadd',
      component: () => import('@/views/shop/shoptype'),
      name: 'typeadd',
      meta: { title: '商品类型管理' }
    },
    {
      path: 'shopbrandadd',
      component: () => import('@/views/shop/shopbrand'),
      name: 'shopbrandadd',
      meta: { title: '商品品牌管理' }
    },
    {
      path: 'shoplistshow',
      component: () => import('@/views/shop/shoplist'),
      name: 'shoplistshow',
      meta: { title: '商品列表管理' }
    },
    {
      path: 'shopsku',
      component: () => import('@/views/shop/shopsku'),
      name: 'skuadd',
      meta: { title: 'sku管理' }
    },
    // {
    //   path: 'shopskuadd',
    //   component: () => import('@/views/shop/shopsku'),
    //   name: 'shopskuadd',
    //   meta: { title: '商品规格添加' }
    // },
    // {
    //   path: 'shopstatelist',
    //   component: () => import('@/views/shop/statelist'),
    //   name: 'shopstatelist',
    //   meta: { title: '商品状态' }
    // }
  ]
}
export default shopRouter
